use bda;
update `system_versions` set version = '3.1.0.0118' where module_id = 1;

alter table organizations add column `organization_parent_id` varchar(36) NULL DEFAULT '-1' COMMENT '组织父ID';

DROP TABLE IF EXISTS `platform_users`;
CREATE TABLE `platform_users`  (
  `user_name` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '用户名',
  `password` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '密码',
  PRIMARY KEY (`user_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;

-- ----------------------------
-- Records of platform_users
-- ----------------------------
INSERT INTO `platform_users` VALUES ('System', 'fEqNCco3Yq9h5ZUglD3CZJT4lBs=');